package com.cqyc.network.model;


import java.io.Serializable;
import java.util.List;

public class OrderInfo implements Serializable {

    /**
     * trade_count : 3
     * trade_payment : 3300.00
     * list : [{"id":96,"uid":10000008,"trade_sn":"202205231107449913","created_at":"2022-05-23 11:07:44","trade_status":40,"trade_items":[{"trade_id":96,"item_name":"男式秋装","sku_img":"http://ant.qiniu.dev.yctourism.com/store/admin/1/20220321//62381ac13d777_1647844033.png","sku_name":"XL","sku_qty":1}],"trade_user":{"uid":10000008,"avatar":"http://ant.qiniu.yblylm.com/uploads/20210605/44cd39a0c6d50a03764cfbb06c80934d.jpg","nickname":"桃哥"},"trade_status_desc":"已收货","payment":"1100.00","trade_web_url":"http://mall.web.ant.yc1024dev.cn/#/orderdetail?callback=mall_service&trade_sn=202205231107449913"},{"id":95,"uid":10000008,"trade_sn":"202205171444477607","created_at":"2022-05-17 14:44:47","trade_status":0,"trade_items":[{"trade_id":95,"item_name":"男式秋装","sku_img":"http://ant.qiniu.dev.yctourism.com/store/admin/1/20220321//62381ac13d777_1647844033.png","sku_name":"XL","sku_qty":1}],"trade_user":{"uid":10000008,"avatar":"http://ant.qiniu.yblylm.com/uploads/20210605/44cd39a0c6d50a03764cfbb06c80934d.jpg","nickname":"桃哥"},"trade_status_desc":"待支付","payment":"1100.00","trade_web_url":"http://mall.web.ant.yc1024dev.cn/#/orderdetail?callback=mall_service&trade_sn=202205171444477607"},{"id":94,"uid":10000008,"trade_sn":"202205171443461235","created_at":"2022-05-17 14:43:46","trade_status":0,"trade_items":[{"trade_id":94,"item_name":"男式秋装","sku_img":"http://ant.qiniu.dev.yctourism.com/store/admin/1/20220321//62381ac13d777_1647844033.png","sku_name":"XL","sku_qty":1}],"trade_user":{"uid":10000008,"avatar":"http://ant.qiniu.yblylm.com/uploads/20210605/44cd39a0c6d50a03764cfbb06c80934d.jpg","nickname":"桃哥"},"trade_status_desc":"待支付","payment":"1100.00","trade_web_url":"http://mall.web.ant.yc1024dev.cn/#/orderdetail?callback=mall_service&trade_sn=202205171443461235"}]
     */

    private int trade_count;
    private String trade_payment;
    private List<ListBean> list;

    public int getTrade_count() {
        return trade_count;
    }

    public void setTrade_count(int trade_count) {
        this.trade_count = trade_count;
    }

    public String getTrade_payment() {
        return trade_payment;
    }

    public void setTrade_payment(String trade_payment) {
        this.trade_payment = trade_payment;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Serializable {
        /**
         * id : 96
         * uid : 10000008
         * trade_sn : 202205231107449913
         * created_at : 2022-05-23 11:07:44
         * trade_status : 40
         * trade_items : [{"trade_id":96,"item_name":"男式秋装","sku_img":"http://ant.qiniu.dev.yctourism.com/store/admin/1/20220321//62381ac13d777_1647844033.png","sku_name":"XL","sku_qty":1}]
         * trade_user : {"uid":10000008,"avatar":"http://ant.qiniu.yblylm.com/uploads/20210605/44cd39a0c6d50a03764cfbb06c80934d.jpg","nickname":"桃哥"}
         * trade_status_desc : 已收货
         * payment : 1100.00
         * trade_web_url : http://mall.web.ant.yc1024dev.cn/#/orderdetail?callback=mall_service&trade_sn=202205231107449913
         */

        private int id;
        private int uid;
        private String trade_sn;
        private String created_at;
        private int trade_status;
        private TradeUserBean trade_user;
        private String trade_status_desc;
        private String payment;
        private String trade_web_url;
        private List<TradeItemsBean> trade_items;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getTrade_sn() {
            return trade_sn;
        }

        public void setTrade_sn(String trade_sn) {
            this.trade_sn = trade_sn;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public int getTrade_status() {
            return trade_status;
        }

        public void setTrade_status(int trade_status) {
            this.trade_status = trade_status;
        }

        public TradeUserBean getTrade_user() {
            return trade_user;
        }

        public void setTrade_user(TradeUserBean trade_user) {
            this.trade_user = trade_user;
        }

        public String getTrade_status_desc() {
            return trade_status_desc;
        }

        public void setTrade_status_desc(String trade_status_desc) {
            this.trade_status_desc = trade_status_desc;
        }

        public String getPayment() {
            return payment;
        }

        public void setPayment(String payment) {
            this.payment = payment;
        }

        public String getTrade_web_url() {
            return trade_web_url;
        }

        public void setTrade_web_url(String trade_web_url) {
            this.trade_web_url = trade_web_url;
        }

        public List<TradeItemsBean> getTrade_items() {
            return trade_items;
        }

        public void setTrade_items(List<TradeItemsBean> trade_items) {
            this.trade_items = trade_items;
        }

        public static class TradeUserBean implements Serializable {
            /**
             * uid : 10000008
             * avatar : http://ant.qiniu.yblylm.com/uploads/20210605/44cd39a0c6d50a03764cfbb06c80934d.jpg
             * nickname : 桃哥
             */

            private int uid;
            private String avatar;
            private String nickname;

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }
        }

        public static class TradeItemsBean implements Serializable {
            /**
             * trade_id : 96
             * item_name : 男式秋装
             * sku_img : http://ant.qiniu.dev.yctourism.com/store/admin/1/20220321//62381ac13d777_1647844033.png
             * sku_name : XL
             * sku_qty : 1
             */

            private int trade_id;
            private String item_name;
            private String sku_img;
            private String sku_name;
            private int sku_qty;

            public int getTrade_id() {
                return trade_id;
            }

            public void setTrade_id(int trade_id) {
                this.trade_id = trade_id;
            }

            public String getItem_name() {
                return item_name;
            }

            public void setItem_name(String item_name) {
                this.item_name = item_name;
            }

            public String getSku_img() {
                return sku_img;
            }

            public void setSku_img(String sku_img) {
                this.sku_img = sku_img;
            }

            public String getSku_name() {
                return sku_name;
            }

            public void setSku_name(String sku_name) {
                this.sku_name = sku_name;
            }

            public int getSku_qty() {
                return sku_qty;
            }

            public void setSku_qty(int sku_qty) {
                this.sku_qty = sku_qty;
            }
        }
    }
}
